package com.group.www.pojo.entityextends;

import com.group.www.pojo.BrandInfo;
import com.group.www.pojo.GoodsInfo;

import java.util.HashSet;
import java.util.Set;

public class BrandInfoExtendGoodInfo extends BrandInfo{

    private Set<GoodsInfo> goodsInfoSet=new HashSet<GoodsInfo>();

    public Set<GoodsInfo> getGoodsInfoSet() {
        return goodsInfoSet;
    }

    public void setGoodsInfoSet(Set<GoodsInfo> goodsInfoSet) {
        this.goodsInfoSet = goodsInfoSet;
    }

    public BrandInfoExtendGoodInfo(Set<GoodsInfo> goodsInfoSet) {
        this.goodsInfoSet = goodsInfoSet;
    }

    public BrandInfoExtendGoodInfo(Integer brandid, String brandname, String brandlogo, Float amount, String remark, Set<GoodsInfo> goodsInfoSet) {
        super(brandid, brandname, brandlogo, amount, remark);
        this.goodsInfoSet = goodsInfoSet;
    }

    public BrandInfoExtendGoodInfo() {
    }

    @Override
    public String toString() {
        return "BrandInfoExtendGoodInfo{" +
                "goodsInfoSet=" + goodsInfoSet +
                '}';
    }
}
